using MediatR;
using TerritoryGame.Domain.ValueObjects;

namespace TerritoryGame.Application.Commands;

public record PaintActionCommand : IRequest<PaintActionResult>
{
    public Guid GameId { get; init; }
    public Guid? RoomId { get; init; }
    public Guid PlayerId { get; init; }
    public int X { get; init; }
    public int Y { get; init; }
    public int BrushSize { get; init; } = 10;
}

public record PaintActionResult
{
    public bool Success { get; init; }
    public string? ErrorMessage { get; init; }
    public Position Position { get; init; }
    public int BrushSize { get; init; }
}
